package com.EpidemicPrevention.mapper;


import com.EpidemicPrevention.pojo.Apply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ApplyMapper {
    //添加用户
    int addApply(Apply apply);

    //删除用户
    int deleteApply(@Param("v_id") int v_id);

    //修改用户信息
    int updateApply(Apply apply);


    //查看用户
    List<Apply> queryApply(@Param("page") int page, @Param("limit") int limit);

}
